<table>
    <tbody>
    
        <tr class="prop">
            <td class="name">
                <label for="serialNumber"><g:message code="admin.recordType.serialNumber" default="SerialNumber" /></label>
            </td>
            <td class="value ${hasErrors(bean: recordTypeInstance, field: 'serialNumber', 'errors')}">
                <g:textField name="serialNumber" maxlength="10" value="${recordTypeInstance?.serialNumber}" />
            </td>
            <td class="name">
                <label for="domain"><g:message code="admin.recordType.domain" default="Domain" /></label>
            </td>
            <td class="value ${hasErrors(bean: recordTypeInstance, field: 'domain', 'errors')}">
                <g:select name="domain" from="${domainList}" value="${recordTypeInstance?.domain}" noSelection="['':'']"/>
            </td>
        </tr>
    
        <tr class="prop">
            <td class="name">
                <label for="name"><g:message code="admin.recordType.name" default="Name" /></label>
            </td>
            <td class="value ${hasErrors(bean: recordTypeInstance, field: 'name', 'errors')}">
                <g:textField name="name" maxlength="10" value="${recordTypeInstance?.name}" />
            </td>
            <td class="name">
                <label for="isActive"><g:message code="admin.recordType.isActive" default="Is Active" /></label>
            </td>
            <td class="value ${hasErrors(bean: recordTypeInstance, field: 'isActive', 'errors')}">
                <g:checkBox name="isActive" value="${recordTypeInstance?.isActive}" />
            </td>
        </tr>
    
        <tr class="prop">
            <td class="name">
                <label for="description"><g:message code="admin.recordType.description" default="Desc" /></label>
            </td>
            <td class="value ${hasErrors(bean: recordTypeInstance, field: 'description', 'errors')}" colspan="3">
                <g:textArea name="description" cols="40" rows="5" value="${recordTypeInstance?.description}" />
            </td>
        </tr>
    </tbody>
</table>
